package com.kgc.springboot.aviation.pojo;

import java.util.Date;

public class Opinion {
    private Integer id;

    private Integer userId;

    private String opinionContent;

    private Date opinionDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getOpinionContent() {
        return opinionContent;
    }

    public void setOpinionContent(String opinionContent) {
        this.opinionContent = opinionContent == null ? null : opinionContent.trim();
    }

    public Date getOpinionDate() {
        return opinionDate;
    }

    public void setOpinionDate(Date opinionDate) {
        this.opinionDate = opinionDate;
    }

    @Override
    public String toString() {
        return "Opinion{" +
                "id=" + id +
                ", userId=" + userId +
                ", opinionContent='" + opinionContent + '\'' +
                ", opinionDate=" + opinionDate +
                '}';
    }
}